input output tables find the rulle